import React, { Component } from 'react'
import { Provider } from 'mobx-react'
import 'taro-ui/dist/style/index.scss'

import counterStore from './store/counter'
import userStore from './store/user'
import './assets/iconfont/iconfont.css'
import './app.scss'

const store = {
  counterStore,
  userStore
}

class App extends Component {

  componentDidMount () {

  }

  componentDidShow () {}

  componentDidHide () {}

  componentDidCatchError () {}

  // this.props.children 就是要渲染的页面
  render () {
    return (
      <Provider store={store}>
        {this.props.children}
      </Provider>
    )
  }
}

export default App


// 这里的话 我的styleLint总是提示我配置有误 查询需要我安装配置文件
// https://github.com/AtomLinter/linter-stylelint/issues/68
// 这里提示需要将style9.3版本升级到13.3.3
// https://blog.csdn.net/ling369523246/article/details/105878376
